<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>产品列表页面-分页</title>
<link href="<?php echo $this->_webroot('/style/jq-ui/jquery-ui-1.8.18.custom.css'); ?>" rel="stylesheet" type="text/css">
<link href="<?php echo $this->_webroot('/style/css.css'); ?>" rel="stylesheet" type="text/css">
<link href="<?php echo $this->_webroot('/style/content.css'); ?>" rel="stylesheet" type="text/css">

<script type="text/javascript" src="<?php echo $this->_webroot('script/jquery-1.7.1.min.js'); ?>"></script>
<script type="text/javascript" src="<?php echo $this->_webroot('script/jquery-ui-1.8.18.custom.min.js'); ?>"></script>
<script type="text/javascript" src="<?php echo $this->_webroot('script/jquery.carouFredSel-5.5.0-packed.js'); ?>"></script>
<script type="text/javascript" src="<?php echo $this->_webroot('script/js.js'); ?>"></script>
<script type="text/javascript" src="<?php echo $this->_webroot('script/content.js'); ?>"></script>
</head>

<body>
<psp:tags     htmlname='default_topnav'  iconname='defaulttopnav' />

<div class="head headpadding">
	<div class="logo-box">
    	<a class="logo" href="<?php echo $this->_url('default/index/');?>"><img src="<?php echo $this->_webroot('images/logo1.gif'); ?>" alt="" /></a>
    </div>
    
    <psp:tags     htmlname='city'  iconname='city' />
    
    <div class="search-box">
        <div class="search_form_wrap">
        	<div class="searchForm1">
            	<form action="<?php echo $this->_url('default/productlist/');?>" method="get" id="searchkeyForm" class="searchkeyForm" name="searchkeyForm" >
            	<input type="text" class="searchInput1" name="k"  />
                <input type="submit" class="searchBtn1 search_alertimg" value="搜产品"  />
                </form>			
            </div>
            <div class="adsearch1">
            	<a href="<?php echo $this->_url('default/productlist/');?>">高级搜索</a><br />
                <a href="<?php echo $this->_url('article/index/?id=3');?>">使用帮助</a>
            </div>
            <div class="clear"></div>
        </div>
    </div>
    <div class="clear"></div>
</div>
<psp:tags     htmlname='default_navlist'  iconname='default_navlist' />

<div class="container margintop1">
<style type="text/css">
table{ border:#ccc 1px solid; text-align:left}
td{ height:22px; padding:5px; border-bottom:#ccc 1px dashed;}</style>
<div class="path">锁在位置：<a href="index.php">首页</a> > 我要询价 </div>
<div class="">
<form action="<?php echo $this->_url('inquiry/dopost/?');?>gid=<?php echo $goods_id;?>" method="post" onsubmit="return checkform();">
<TABLE cellSpacing=2 cellPadding=0 width="100%" align=center border=0>
  <TR>
    <TD align=right width="22%">发送至：</TD>
    <TD width="78%"><span class="subtitle">
		<a href="shop.php?shopid=2&app=index>"><?php echo $info['b']['shop_name'];?></a>
		<input name="shop_id" type="hidden" value="<?php echo $info['a']['shop_id'];?>" />
		<input name="goods_id" type="hidden" value="<?php echo $info['a']['id'];?>" />
		<input name="goods_name" type="hidden" value="<?php echo $info['a']['goods_name'];?>" />
    </span></TD></TR>
  <TR>
    <TD align=right>询价标题：</TD>
    <TD> <input class=InputBorder maxlength=120 size=40 name="title" type="text" value="<?php echo str_replace("{name}",$info['a']['goods_name'],"咨询{name}相关信息");?>" /></TD></TR>
  <TR>
    <TD align=right valign="top">填写询价内容：</TD>
    <TD><textarea id="content" name="content" cols="40" rows="10" onkeyup="this.value=this.value.slice(0,300);"></textarea></TD></TR>
  <TR>
    <TD align=right>真实姓名：</TD>
    <TD><input name="user_truename" type="text" value="<?php echo $user_info['user_truename'];?>" /></TD></TR>
  <tr>
    <td align="right"><label>E-mail地址</label>：</td>
    <td><input name="user_email" type="text" value="<?php echo $user_info['user_email'];?>" /></td>
  </tr>
  <tr>
    <td align="right">固定电话：</td>
    <td><input name="user_telphone" type="text" value="<?php echo $user_info['user_telphone'];?>" /></td>
  </tr>
  <tr>
    <td align="right">手机：</td>
    <td><input name="user_mobile" type="text" value="<?php echo $user_info['user_mobile'];?>" /></td>
  </tr>
  <TR>
    <TD  style="border-bottom:0px;" align=right> </TD>
    <TD height="40" style="border-bottom:0px;"><input name="button" type="submit" class="button" value="发送询价" />
    </TD></TR>
  </TABLE></form>
</div>
<script type="text/javascript">
    function checkform(){
        
    	var textareac = document.getElementById("content");
    	
    	if(textareac.value.length>300){
    		alert("输入字数超长");
    		textareac.focus();
    		return false;
    	}
    	return true;
    }

</script>
	<div class="clear"></div>
</div>


<!-- 友情链接 -->
    <psp:tags     htmlname='links'  iconname='links' />
<!-- 友情链接 end -->

<div class="clear"></div>

<psp:tags     htmlname='default_footer'  iconname='defaultfooter' />
</body>
</html>